{extend name="$_theme_public_layout"/}
{block name="style"}

{/block}

{block name="main"}

  <div class="content-wrapper">
       <div class="container">
      <!-- Content Header (Page header) -->
      <section class="content-header">
        <ol class="breadcrumb">
          {$page_config.breadcrumbs|default=''}
        </ol>
      </section>

      <!-- Main content -->
      <section class="content">
        <div class="row">
          <div class="col-md-9">
            {notempty name="post_list"}
              {volist name="post_list" id="data"}
                <div class="box box-solid">
                <div class="box-header with-border">
                  <h3 class="box-title"><a href="{:url('cms/index/detail',['id'=>$data['id']])}">{$data.title}</a></h3>
                  <!-- /.box-tools -->
                  <div class="box-tools pull-right">
                    
                  </div>
                </div>
                <div class="box-body">
                  <div class="col-md-3"><img src="{$data.cover}" width="80%"></div>
                  <div class="col-md-9"><p>{$data.digest}</p></div>
                  
                </div>
                <div class="box-footer">
                  <span class="meta meta-time"><i class="fa fa-time"></i> {$data.create_time|strtotime|friendly_date}</span>
                </div><!-- box-footer -->
              </div>
              {/volist}
            {else/}
              <p class="tc">暂无内容</p>
            {/notempty}
        </div>
          <div class="col-md-3">
            {include file="sidebar" /}  
          </div>
        </div>
      </section>
    </div>
  </div>
  <!-- /.content-wrapper -->

{/block}

{block name="script"}
 
{/block}
